package com.example.rpinfrastructure.gateway.impl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.rpclient.dto.query.ActivityRuleListByParamQuery;
import com.example.rpinfrastructure.gateway.impl.dataobject.ActivityRuleDB;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
* @author 是英健啊
* @description 针对表【bld_activity_rule】的数据库操作Mapper
* @createDate 2023-08-06 11:00:46
* @Entity com.example.rpuser.po.ActivityRule
*/
public interface ActivityRuleMapper extends BaseMapper<ActivityRuleDB> {
    List<ActivityRuleDB> list(@Param("query") ActivityRuleListByParamQuery query);

    void deleteByActivityId(@Param("activityId") Long activityId);
}




